package org.tlipoca.smusersubscribe.client;

import org.genntii.smcommon.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sm-article")
public interface ArticleClient {

    @PutMapping("/article/setFollower")
    Result setFollower(@RequestParam("follower") Integer follower, @RequestParam("userId")Long userId);

}
